package com.kevin.i18n.dynamic.configuration;

import com.kevin.i18n.dynamic.configuration.component.I18nMessageSource;
import org.springframework.context.MessageSource;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class I18nConfiguration {

    @Bean
    public MessageSource messageSource() {
        return new I18nMessageSource();
    }

}
